package com.gxa.uhome.service;

import com.gxa.uhome.exception.BusinessException;
import com.gxa.uhome.pojo.UserAddress;

import java.util.List;

/**
 * User: Sanruy Mu
 * Date: 2021/06/09 9:50
 * Description:
 * Version: V1.0
 */
public interface UserAddressService {

    List<UserAddress> selectByUserId(Integer id) throws BusinessException;

    Integer addAddress(UserAddress userAddress) throws BusinessException;

    Integer edit(UserAddress userAddress) throws BusinessException;

    Integer deleteAddress(Integer id) throws BusinessException;
}